package service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import dao.ShiroUserDao;
import entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import service.SelectAllUser;

import java.util.List;

/**
 * Created by thinkjoy on 2017/6/19.
 */
@Service
public class SelectAllUserImpl extends ServiceImpl<ShiroUserDao, User> implements SelectAllUser {
    @Autowired
    private ShiroUserDao shiroUserDao;

    @Override
    public List<User> queryAll() {
        return shiroUserDao.queryAll();
    }
}
